<?php

namespace app\beautiful\model\project;

use app\common\model\CommonModel;



class ProjectModel extends CommonModel{

    protected  $name = 'beautiful_project';

    protected  $pk   = 'project_id';



    public function type()

    {

        return $this->hasOne(ProjectTypeModel::class,'project_type_id','project_type_id');

    }

}

